package controller;

import javax.faces.event.ActionEvent;
import javax.swing.JOptionPane;

import domain.Contact;

public class ModifyContactController {
	private Contact contact;
	public String loadContact(ActionEvent event){
		contact=(Contact) event.getComponent().getAttributes().get("contact");
		JOptionPane.showMessageDialog(null, "je suis ici");
		JOptionPane.showMessageDialog(null, contact.getLastName());
		return "modifier";
	}
}
